package com.hyl.servlet.impl;

import com.hyl.annotation.RequestMapping;

/**
 * UserServlet
 *
 * @author hyl
 * @date 2025-06-16
 */
public class RoleServlet {
    @RequestMapping(value="/role/list")
    public void list(){

        System.out.println(RoleServlet.class.getName()+"的list方法执行了");
    }

    @RequestMapping(value="/role/add")
    public String add(){
        System.out.println(RoleServlet.class.getName()+"的add方法执行了");
        return "add"; //转发 ==》 add.jsp
    }
}
